package com.project.bean;

import java.util.List;

public class CutPageBean<T> {
    private List<T> list;
    /**总记录数*/
    private int count;
    /**总页数*/
    private int totalPage;

    public CutPageBean() {
    }

    public CutPageBean(List<T> list, int count, int totalPage) {
        this.list = list;
        this.count = count;
        this.totalPage = totalPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    @Override
    public String toString() {
        return "CutPageBean{" +
                "list=" + list +
                ", count=" + count +
                ", totalPage=" + totalPage +
                '}'+"\n";
    }
}
